Skip to content

replace deprecated np.int with int to avoid crash#16279

Merged
junrushao merged 1 commit intoapache:mainfrom
jikechao:fix_deprecate_api
Dec 26, 2023
Merged

replace deprecated np.int with int to avoid crash#16279
junrushao merged 1 commit intoapache:mainfrom
jikechao:fix_deprecate_api

Conversation

@jikechao
Copy link
Copy Markdown
Member

@jikechao jikechao commented Dec 26, 2023

Replace the deprecated API np.int with int to avoid a crash.

In NumPy v1.20.0, the np.int has been deprecated as shown in the documentation

Copy link
Copy Markdown
Member

@junrushao junrushao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@junrushao junrushao merged commit a050696 into apache:main Dec 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants